<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="../../../../css/icon.css">
    <link rel="stylesheet" type="text/css" href="../../../../css/easyui.css">
    <script type="text/javascript" src="../../../../js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="../../../../js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../../../js/easyui-lang-zh_CN.js"></script>
    <style type="text/css">
        .font-stress{
            color: red;font-size: 13px;font-weight:bold;
        }
    </style>
    <script type="text/javascript">
        var datagrid;
        var message =$.messager;
        var operateDialog;
        $(function(){
            $('#supplier').combogrid({
                panelWidth:340,
                idField:'code',
                textField:'name',
                fitColumns:true,
                nowrap:true,
                mode:'local',
                url:'datagrid_data.json',
                columns:[[
                    {field:'code',title:'Code',width:60},
                    {field:'name',title:'Name',width:100},
                    {field:'addr',title:'Address',width:120},
                    {field:'col4',title:'Col41',width:100}
                ]],
                keyHandler: {
                    up: function() {},
                    down: function() {},
                    enter: function(q) {
                    },
                    query: function (q) {
                    }
                }
            });
        });
        function add_() {
            var href = "audit_add.html";
            operateDialog = $("#operateDialog").dialog({title : '创建审核'});
            $("#operateIFrame")[0].src=href;
            operateDialog.dialog('open');
        }
    </script>
</head>
<body class="easyui-layout">
<div data-options="region:'north'" style="overflow: hidden;">
    <div class="datagrid-toolbar" style="height: auto;">
        <br/>
        <fieldset>
            <table width="100%">
                <tr>
                    <td align="right">Supplier Code供应商编码：</td>
                    <td>
                        <input id="supplier" type="text"/>
                    </td>
                    <td align="right">Supplier Name供应商名称：</td>
                    <td>
                        <input type="text" disabled/>
                    </td>
                    <td align="right">Supplier Type供应商类型：</td>
                    <td>
                        <input type="text" disabled/>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td colspan="5"></td>
                    <td class="font-stress">Evaluation Value：45</td>
                </tr>
            </table>
        </fieldset>
        <br/>
    </div>
</div>
<div data-options="region:'center'">
    <div id="tb">
        <!--<a class="font-stress easyui-linkbutton" href="javascript:void(0);" plain="true" iconCls="icon-save" title="记得保存哦，不然操作过的数据丢失！">Save保存</a>-->
        <a class="easyui-linkbutton" href="javascript:void(0);" plain="true" iconCls="icon-add" onclick="add_();">Add新增</a>
        <a class="easyui-linkbutton" href="javascript:void(0);" plain="true" iconCls="icon-edit">Modify修改</a>
        <a class="easyui-linkbutton" href="javascript:void(0);" plain="true" iconCls="icon-cancel">Delete删除</a>
        <!--<a class="easyui-linkbutton" href="javascript:void(0);" plain="true" iconCls="icon-import">Import导入</a>-->
        <!--<a class="easyui-linkbutton" href="javascript:void(0);" plain="true" iconCls="icon-export">Export导出</a>-->
    </div>
    <table class="easyui-datagrid" toolbar="#tb" pagination="true" fit="true" nowrap="false">
        <thead>
        <tr>
            <th field="ck" checkbox="true"></th>
            <th field="1" width="80" align="center">AuditCode<br/>审核编码</th>
            <th field="2" width="120" align="center">PlanificationDate<br/>计划日期</th>
            <th field="3" width="120" align="center">CertificationDate<br/>审核日期</th>
            <th field="4" width="100" align="center">EvaluationValue<br/>估值</th>
            <th field="5" width="80" align="center">Project<br/>项目</th>
            <th field="6" width="80" align="center">Auditor<br/>审核者</th>
            <th field="7" width="130" align="center">RequestedActionsDate<br/>要求行动的日期</th>
            <th field="72" width="120" align="center">ActionIncomingDate<br/>行动来临的日期</th>
            <th field="8" width="120" align="center">AgreedActionDate<br/>同意行动的日期</th>
            <th field="9" width="80" align="center">Capability<br/>产能</th>
            <th field="10" width="80" align="center">Status<br/>状态</th>
            <th field="11" width="100" align="center">Comment<br/>评论</th>
            <th field="date" width="80" align="center">Date<br/>日期</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td></td>
            <td>JF0131</td>
            <td>2007/2/1</td>
            <td>2009/1/31</td>
            <td>22</td>
            <td>med</td>
            <td>Valentina</td>
            <td>2007/4/5</td>
            <td>2007/4/5</td>
            <td>2007/4/5</td>
            <td>NO</td>
            <td>OPEN</td>
            <td></td>
            <td>2012-4-3</td>
        </tr>
        <tr>
            <td></td>
            <td>FS2005</td>
            <td>2007/2/1</td>
            <td>2009/1/31</td>
            <td>11</td>
            <td>Opel</td>
            <td>Oscar</td>
            <td>2007/4/5</td>
            <td>2007/4/5</td>
            <td>2007/4/5</td>
            <td>NO</td>
            <td>CLOSED</td>
            <td></td>
            <td>2012-4-3</td>
        </tr>
        </tbody>
    </table>
</div>
<div id="operateDialog" class="easyui-dialog" style="width:900px;height:320px;"
     data-options="iconCls:'icon-save',resizable:true,modal:true,closed: true,collapsible:true,maximizable:true">
    <iframe scrolling="auto" id='operateIFrame' frameborder="0"  src="" style="width:100%;height:100%;"/>
</div>

</body>
</html>